package com.lmu.travel.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @className: ${NAME}
 * @description: ${TODO}
 * @author liuxuhuang
 * @email liuxuhuang3970@qq.com
 * @date ${DATE} ${TIME}
 * @version：1.0
 */

/**
 * 卖家表(Seller)表实体类
 *
 * @author liuxuhuang
 * @since 2021-06-29 10:40:32
 */

@TableName(value = "", keepGlobalPrefix = true)
@ApiModel(value = "卖家表", description = "")
@Component
public class Seller implements Serializable {

    private static final long serialVersionUID = -81105051410675677L;

    private Integer sid;

    private String sname;

    private String consphone;

    private String address;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getConsphone() {
        return consphone;
    }

    public void setConsphone(String consphone) {
        this.consphone = consphone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Seller() {
    }

    public Seller(Integer sid, String sname, String consphone, String address) {
        this.sid = sid;
        this.sname = sname;
        this.consphone = consphone;
        this.address = address;
    }

    @Override
    public String toString() {
        return "Seller{" +
                "sid=" + sid +
                ", sname='" + sname + '\'' +
                ", consphone='" + consphone + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}